//
//  AppDelegate.m
//  Ummy.G
//
//  Created by 安林 on 16/9/25.
//  Copyright © 2016年 安林. All rights reserved.
//

#import "AppDelegate.h"
@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    
    //让启动图片睡一会
    [NSThread sleepForTimeInterval:3];
    
    self.window = [[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds];
    ALTabBarController * tab = [[ALTabBarController alloc]init];
    //设置根控制器
    self.window.rootViewController = tab;
    
    //成为主窗口 并且显示出来
    [self.window makeKeyAndVisible];
    return YES;
}

- (void)applicationWillResignActive:(UIApplication *)application {
    
}

- (void)applicationDidEnterBackground:(UIApplication *)application {
    
}

- (void)applicationWillEnterForeground:(UIApplication *)application {
}

- (void)applicationDidBecomeActive:(UIApplication *)application {
   
}

- (void)applicationWillTerminate:(UIApplication *)application {
    
}

@end
